abstract class AppRouters {
  
  /// 种草首页
  static const plantHome = _Paths.plantHome;
  /// 种草详情
  static const plantDetail = _Paths.plantDetail;
  /// 在线点餐首页
  static const onlineHome = _Paths.onlineHome;
  /// 在线点餐详情
  static const onlineDetail = _Paths.onlineDetail;
  // /// 登录校验失败后，跳转登录页，登录成功后，回跳上个页面
  // static String getLoginThen(String afterSuccessfulLogin) {
  //   return '$login?then=${Uri.encodeQueryComponent(afterSuccessfulLogin)}';
  // }

}

abstract class _Paths {
  static const plantHome = '/plantHome';
  static const plantDetail = '/plantDetail';
  
  static const onlineHome = '/onlineHome';
  static const onlineDetail = '/onlineDetail';
}